<%@page import="dao.*"%>
<%@page import="domain.*"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../common/IncludeTop.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>Category.jsp</title>

<meta name="keywords" content="鱼">
<meta name="description" content="this is my fishes">
<meta name="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../css/jpetstore.css">

</head>

<body>

	<div id="BackLink">
		<a href="Main.jsp">返回主菜单</a>
	</div>
	<center>
		<h2>${category.name}</h2>
	</center>
	<center>
		<table>
			<tr>
				<th>商品编号</th>
				<th>名称</th>
			</tr>
			<c:forEach items="${list}" var="category">
				<tr>
					<td><a href="Product?productId=${category.productid}">${category.productid}</a></td>
					<td>${category.name}</td>
				</tr>
			</c:forEach>
		</table>
	</center>
</body>
</html>
<%@ include file="../common/IncludeBottom.jsp"%>